const { defineConfig } = require('@vue/cli-service');

module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      '/api': {
        target: 'http://127.0.0.1:8888',
        changeOrigin: true,
        onProxyReq(proxyReq) {
          console.log(`Proxying request to ${proxyReq.path}`);
        },
      },
    },
  },
});